package com.lagou.edu.dao;

import com.lagou.edu.pojo.LagouAuthCode;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * @Author 梅松
 * @Date 2021/10/19 16:47
 */
public interface CodeDao extends JpaRepository<LagouAuthCode, Long> {

    public LagouAuthCode findLagouAuthCodeByEmail(String email);

    public int deleteLagouAuthCodeByEmail(String email);
}
